package com.example.figurehecheng.service;

import com.example.figurehecheng.common.result.PageResult;
import com.example.figurehecheng.domain.dto.FoodDTO;
import com.example.figurehecheng.domain.dto.FoodtypeDTO;
import com.example.figurehecheng.domain.entity.Foodtype;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 宇科工作室
 * @since 2024-10-18
 */
public interface IFoodtypeService extends IService<Foodtype> {
    PageResult getDishtypeAll(String name, Integer pageNum, Integer pageSize);

    void updateDish(FoodtypeDTO foodtypeDto);

    void deleteDish(FoodtypeDTO foodtypeDTO);

    void addDish(FoodtypeDTO foodtypeDTO);
}
